<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * 处理业务类
 *
 * @author maylor
 */
require_once 'Sendemail.class.php';

class Myjob {

    public function perform()
    {
       $name = $this->args['name'];
       if($name=='sendemail') {
           Sendemail::send_email($this->args['data']);
       }
    }
}
